package com.weishu.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weishu.system.api.domain.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 系统用户 Mapper 接口
 * </p>
 *
 * @author 史珺玚
 * @since 2021-11-10
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    boolean saveOne(@Param("sysUser")SysUser sysUser);

    SysUser tologin(@Param("username")String username,@Param("pwd")String pwd);
}
